package com.yociyy.admin.model.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 系统-用户与岗位关联表
 * 
 * @author YoCiyy
 * @date 2019-12-05
 */
@Data
@Accessors(chain = true)
@Table(name = "base_user_post")
public class BaseUserPost implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 用户ID
	 */
	@Id
	private Long userId;
	/**
	 * 岗位ID
	 */
	@Column(name = "post_id")
	private Long postId;
}
